﻿using System;
using System.ComponentModel;
using Csla;
using lite;
using Csla.Validation;
using Csla.Data;
using System.Data.SqlClient;
using OpenExpressApp.ORM;
namespace iSun.Entity
{
	[Serializable]
	[lite.Table(Name ="SysMenu")]
    [iSun.Model.Table("SysMenu", "ID")]
	public class  Menu : iSun.Entity.EntityBase
	{
		public Menu()
		{

		}


		/// <summary>
		///模块ID
		/// </summary>
		[lite.Column]
		private System.Guid _ID;
		public System.Guid ID
		{
 			get { return _ID; }
			set { _ID = value; }
		}

		/// <summary>
		///功能模块名称
		/// </summary>
		[lite.Column]
		private System.String _Name;
		public System.String Name
		{
 			get { return _Name; }
			set { _Name = value; }
		}

		/// <summary>
		///模块父ID
		/// </summary>
		[lite.Column]
		private System.Guid _ParentID;
		public System.Guid ParentID
		{
 			get { return _ParentID; }
			set { _ParentID = value; }
		}

		/// <summary>
		///模板路径[001.001.001][3位]
		/// </summary>
		[lite.Column]
		private System.String _PathCode;
		public System.String PathCode
		{
 			get { return _PathCode; }
			set { _PathCode = value; }
		}

		/// <summary>
		///指向URL
		/// </summary>
		[lite.Column]
		private System.String _URL;
		public System.String URL
		{
 			get { return _URL; }
			set { _URL = value; }
		}

		/// <summary>
		///菜单类型(主菜单/子菜单)
		/// </summary>
		[lite.Column]
		private System.String _MenuType;
		public System.String MenuType
		{
 			get { return _MenuType; }
			set { _MenuType = value; }
		}

		/// <summary>
		///菜单编码
		/// </summary>
		[lite.Column]
		private System.String _MenuCode;
		public System.String MenuCode
		{
 			get { return _MenuCode; }
			set { _MenuCode = value; }
		}

		/// <summary>
		///图标
		/// </summary>
		[lite.Column]
		private System.String _IconClass;
		public System.String IconClass
		{
 			get { return _IconClass; }
			set { _IconClass = value; }
		}

		/// <summary>
		///助记符
		/// </summary>
		[lite.Column]
		private System.String _HelpCode;
		public System.String HelpCode
		{
 			get { return _HelpCode; }
			set { _HelpCode = value; }
		}

		/// <summary>
		///显示顺序
		/// </summary>
		[lite.Column]
		private System.Int32 _Sort;
		public System.Int32 Sort
		{
 			get { return _Sort; }
			set { _Sort = value; }
		}

		/// <summary>
		///备注
		/// </summary>
		[lite.Column]
		private System.String _Notes;
		public System.String Notes
		{
 			get { return _Notes; }
			set { _Notes = value; }
		}

		/// <summary>
		///按钮项目
		/// </summary>
		[lite.Column]
		private System.String _BarItems;
		public System.String BarItems
		{
 			get { return _BarItems; }
			set { _BarItems = value; }
		}

		/// <summary>
		///是否菜单项[]
		/// </summary>
		[lite.Column]
		private System.String _IsMenu;
		public System.String IsMenu
		{
 			get { return _IsMenu; }
			set { _IsMenu = value; }
		}

		/// <summary>
		///
		/// </summary>
		[lite.Column]
		private System.String _EntityName;
		public System.String EntityName
		{
 			get { return _EntityName; }
			set { _EntityName = value; }
		}

		/// <summary>
		///
		/// </summary>
		[lite.Column]
		private System.String _ClassType;
		public System.String ClassType
		{
 			get { return _ClassType; }
			set { _ClassType = value; }
		}
	}
}
